<?php
if (!extension_loaded('ldap')){
    die('skip ldap extension not available');
}
?>
